package com.jeesite.modules.rt.service;

import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.rt.entity.RtDeviceBaojing;
import com.jeesite.modules.rt.dao.RtDeviceBaojingDao;

/**
 * 设备报警设置Service
 * @author 李寒冰
 * @version 2025-01-08
 */
@Service
public class RtDeviceBaojingService extends CrudService<RtDeviceBaojingDao, RtDeviceBaojing> {
	
	/**
	 * 获取单条数据
	 * @param rtDeviceBaojing
	 * @return
	 */
	@Override
	public RtDeviceBaojing get(RtDeviceBaojing rtDeviceBaojing) {
		return super.get(rtDeviceBaojing);
	}
	
	/**
	 * 查询分页数据
	 * @param rtDeviceBaojing 查询条件
	 * @param rtDeviceBaojing page 分页对象
	 * @return
	 */
	@Override
	public Page<RtDeviceBaojing> findPage(RtDeviceBaojing rtDeviceBaojing) {
		return super.findPage(rtDeviceBaojing);
	}
	
	/**
	 * 查询列表数据
	 * @param rtDeviceBaojing
	 * @return
	 */
	@Override
	public List<RtDeviceBaojing> findList(RtDeviceBaojing rtDeviceBaojing) {
		return super.findList(rtDeviceBaojing);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param rtDeviceBaojing
	 */
	@Override
	@Transactional
	public void save(RtDeviceBaojing rtDeviceBaojing) {
		super.save(rtDeviceBaojing);
	}
	
	/**
	 * 更新状态
	 * @param rtDeviceBaojing
	 */
	@Override
	@Transactional
	public void updateStatus(RtDeviceBaojing rtDeviceBaojing) {
		super.updateStatus(rtDeviceBaojing);
	}
	
	/**
	 * 删除数据
	 * @param rtDeviceBaojing
	 */
	@Override
	@Transactional
	public void delete(RtDeviceBaojing rtDeviceBaojing) {
		super.delete(rtDeviceBaojing);
	}
	
}